<script>
    //模板字符串
    let str1 = `hello,
    es6 demo up!`
    console.log(str1)

    //表达式获取变量值
    let name = "Mike"
    let age = 20
    let str2 = `hello,${name},age is ${age + 1}`
    console.log(str2)

    //调用方法
    function f1() {
        return "hello f1()"
    }
    let str3 = `demo ,${f1()}`
    console.log(str3)
</script>